import request from '@/router/axios';

// 倒冲记录分页接口
export const getList = (current, size, params) => {
  return request({
    url: `/api/mes-warehouse/back-flush/page-query`,
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  });
};

// 倒冲记录包装详情接口
export const getDetail = (current, size, params) => {
  return request({
    url: '/api/mes-warehouse/back-flush/detail-page-query',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  });
};

export const getPackDetail = (current, size, params) => {
  return request({
    url: '/api/mes-warehouse/back-flush/detail-pack-page-query',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  });
};
